post increment vs pre increment [closed]

Posted by mousey on Stack Overflow See other posts from Stack Overflow or by mousey
Published on 2010-05-23T18:03:23Z Indexed on 2010/05/23 18:10 UTC
Read the original article Hit count: 280

Filed under:
|

Possible Duplicate:
Difference between i++ and ++i in a loop?

Hi,

Can some one please help me when to use pre increment or post increment in a for loop. I am getting the same results for both the loops! I also would like to know when and where to choose one between the two. Thanks in advance.

© Stack Overflow or respective owner

Related posts about c++

Related posts about c